{if $need_header_footer}
{template common/header}
{template search/searchbox}
{/if}
<div class="container mt10">
	<div class="span9 main">
		{template search/nav}
		
		<div id="waterfall_outer" data-fullscreen="0" class="container">
			<div class="span9 ml0" id="waterfall" data-pin-width="233" data-animated="0">
				$tpl_waterfall
			</div>
		</div>		
	</div>
	<div class="span3 secondary">
		<div class="navmenu span3 clearfix">
			<div class="navtitle">
				<span>{lang search_ads}</span>
			</div>
		</div>
		{template common/secondary}
	</div>
</div>
<div class="container">
	<div id="loadingPins" class="span12 text_c"><img src="{baseurl}themes/$theme/img/puzzle32.gif"></div>
</div>
<div id="page-nav" class="mt20 container hide">
	<a id="page-next" href="$nextpage_url"></a>
</div>
<div class="hide">
	$pages
</div>
{if $need_header_footer}
{template common/footer}
{/if}